package com.pubinfo.passbook.common.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * null
 *
 * @TableName t_system_user
 */
@TableName(value = "t_system_user")
@Data
@NoArgsConstructor
public class TSystemUser implements Serializable {
  /**
   *
   */
  
  @TableId(type = IdType.ASSIGN_UUID, value = "id")
  private String id;
  
  private String salt;//盐值
  /**
   *
   */
  private String password;
  
  /**
   *
   */
  private String username;
  /**
   * 创建时间
   */
  @TableField(fill = FieldFill.INSERT)
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date createTime;
  
  @TableField(fill = FieldFill.INSERT_UPDATE)
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date updateTime;
  @TableField(exist = false)
  private static final long serialVersionUID = 1L;
  
}